<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout>
        <GlobalSider class="sider" />
        <a-layout-content class="content">
          <router-view />
        </a-layout-content>
      </a-layout>
    </a-layout>
  </div>
</template>
<script lang="ts" setup>
import GlobalHeader from "@/components/GlobalHeader.vue";
import GlobalSider from "@/components/GlobalSider.vue";
</script>
<style lang="scss" scoped>
#basicLayout {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: none;
  .header {
    padding-inline: 20px;
    background: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .sider {
    background: #f5f7fa;
    height: calc(100vh - 64px);
    padding: 0px 0px 3% 0px;
  }
  .content {
    background: white;
  }
}
</style>
